<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org"
	xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
<head>
<th:block th:include="include :: header('数据探索详情')" />
</head>
<body class="gray-bg">
	<div class="container-div">
		<div class="row">
			<!-- <div class="col-sm-12 search-collapse">
				
			</div> -->
			<form id="gen-form">
				<div class="select-list">
					<ul>
						<li><input id="exploreId" name="exploreId" th:value="${exploreId}"
							type="hidden" /></li>
					</ul>
				</div>
			</form>
			<div class="col-sm-12 select-table table-striped">
				<table id="dialogTable"></table>
			</div>
		</div>
	</div>
	<th:block th:include="include :: footer" />
	<script th:inline="javascript">
        var prefix = ctx + "explore/exploreDetail";
        var ruleTypeDatas = [[${@dict.getType('rule_type')}]];

        $(function() {debugger;
            var options = {
            	id : "dialogTable"	,
                url: prefix + "/showExploreDetailByExploreId",
                sortName: "createTime",
		        sortOrder: "desc",
		        showExport: false,
		        singleSelect:false,
		        showSearch: false,
		        showRefresh: false,
		        showToggle: false,
		        showColumns: false,
		        clickToSelect: true,
		        rememberSelected: true,
		        modalName: "数据探索详情",
                columns: [{
                    checkbox: true
                },
                {
                    field: 'exploreDetailId',
                    title: '探索详情id',
                    visible: false
                },
                {
                    field: 'exploreId',
                    title: '探索结果id'
                },
                {
                    field: 'exploreType',
                    title: '探索类型'
                },
                {
                    field: 'tableCode',
                    title: '表代码'
                },
                {
                    field: 'tableName',
                    title: '表名称'
                },
                {
                    field: 'recordNumber',
                    title: '记录数'
                },
                {
                    field: 'fieldCode',
                    title: '字段代码'
                },
                {
                    field: 'fieldName',
                    title: '字段名称'
                },
                {
                    field: 'fieldType',
                    title: '字段类型'
                },
                {
                    field: 'fieldLength',
                    title: '字段长度'
                },
                {
                    field: 'fieldPrecision',
                    title: '字段精度'
                },
                {
                    field: 'fieldCanNull',
                    title: '字段是否可空'
                },
                {
                    field: 'fieldValueType',
                    title: '字段值域类型'
                },
                {
                    field: 'fieldValueRange',
                    title: '字段值域范围'
                }]
            };
            $.table.init(options);
        });
    </script>
</body>
</html>
